package org.goldfish.chatroom.service;

import org.goldfish.chatroom.entity.PublicNetworkService;
import org.goldfish.chatroom.mapper.PublicNetworkServiceMapper;
import org.jetbrains.annotations.Nullable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.lang.NonNull;

public interface PublicNetworkServiceManager {



    @NonNull
    PublicNetworkService getPublicNetworkServiceByName(String name);

    void updatePublicNetworkService(String name, String domain, String port, boolean refresh);
}
